module.exports = class extends think.global.service {
  async indexAction() {
    try {
      var result = await think.http.post(this.$url, this.post(), this.$config)
      this.json(result.data)
    } catch (e){
      this.ctx.fail(1000, e.message)
    }
  }
};